package com.heima.admin.service;

import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.pojos.WmSensitive;

/**
 * @author Xiao
 * @version 1.0
 * @description
 * @date 2021/11/29
 */
public interface SensitiveService {
    /**
     * 查询敏感词列表
     * @param dto
     * @return
     */
    ResponseResult getList(SensitiveDto dto);

    /**
     * 删除敏感词
     * @param id
     */
    ResponseResult delSensitive(Integer id);

    /**
     * 添加敏感词
     * @param adSensitive
     * @return
     */
    ResponseResult saveSensitive(WmSensitive adSensitive);

    /**
     * 修改敏感词
     * @param adSensitive
     * @return
     */
    ResponseResult updateSensitive(WmSensitive adSensitive);
}
